﻿using System;
using System.Collections.Generic;
using HiTeachers.Entities;

namespace HiTeachers.Interfaces
{
    public interface ITeacherDao : IDao<Teacher, Guid>
    {
        Teacher IsEmailAlreadyExist(string emailAddress);
        IList<Teacher> GetNewestTeachers(int maxResult);
        IList<Teacher> GetSubcribeTeachers(string subjects);

        int TotalActivateTeachers();
        IList<Teacher> GetActivateTeachers(int maxResult, int startIndex);

        int TotalNumberOfTeacher(int accountStatus);
        IList<Teacher> GetTeachers(int accountStatus);
        IList<Teacher> GetTeachers(int accountStatus, int maximumRows, int startRowIndex);

        Teacher GetUser(string username);
        Teacher GetUser(string username, string password);

        IList<Teacher> GetRemindMembers();
        IList<Teacher> GetExpiedMembers();
    }
}
